<?php

class tenap_servicoModel extends Model{
    protected $tabela = "tenap_servico";
    protected $pkey   = "cod_servico";
    protected $dados = array(
        
        'cod_servico' => array(
           'name'    => "Código",
           'type'    => 'int',
           'notnull' => true,
           'ai'      => true,
           'pkey'    => true,
           'grid'    => true
        ),
        
        'servico' => array(
            'name'    => 'Servico',
            'type'    => 'varchar',
            'size'    => '126',
            'unique'  => array('model' => 'tenap/servico'),
            'grid'    => true,
            'notnull' => true
        )
        
    );
}

?>
